<?php
  echo(
    '<form method="post">'
  );
  wp_nonce_field($this->p->name);
  echo(
      '<fieldset class="wpgb_fieldset wpgb_fieldset_alt">'.
        '<h2>'.__('Exclusion Rules', $this->p->name).'</h2>'.
        '<p><label for="exclude-referrer">'.__('List referral URLs that you do not want to show a greeting message to (line delimited).', $this->p->name).'<br/>'.
        '<textarea name="wpgb_options_exclusion[exclude_referrer]" id="exclude-referrer" class="wpgreetbox-focusable widefat" rows="8">'.attribute_escape($this->p->o['exclude_referrer']).'</textarea></label></p>'.
        '<p><label for="show_post">'.__('Treat each line as a regular expression', $this->p->name).
        ' &nbsp;<input name="wpgb_options_exclusion[regex_rules]" type="checkbox" '.checked(true, $this->p->o['regex_rules'], false).'/>'.
        '</label></p>'.
        '<p class="submit">'.
          '<input type="submit" name="wpgb_options_exclusion_submit" value="'.__('Update Options', $this->p->name).' &#187;" />'.
        '</p>'.
      '</fieldset>'.
    '</form>'
  );
?>
